package yl.hs.bmipfull.pojo.system;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

/**
 * 作用:  职位信息实体类<br/>
 * 创建时间: 2021年05月12日 15时51分48秒 <br/>
 *
 * @author 张凯
 */
@DBTable(disName = "职位信息", mapCode = "duty_info")
public class DutyInfoEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "职位信息编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "DUTY")
    private String sn;
    /**
     * 职位名称
     */
    @DBField(disName = "职位名称", mapCode = "dutyName")
    private String dutyName;
    /**
     * 职位名称拼音
     */
    private String dutyNamePY;
    /**
     * 职位代码
     */
    @DBField(disName = "职位代码", mapCode = "dutyCode")
    private String dutyCode;
    /**
     * 职位描述
     */
    @DBField(disName = "职位描述", mapCode = "dutyDesc")
    private String dutyDesc;
    /**
     * 是否管理员
     */
    @DBField(disName = "是否管理员", mapCode = "manager")
    private boolean manager;
    /**
     * 排序代码
     */
    @DBField(disName = "排序代码", mapCode = "sortCode")
    private String sortCode;
    /**
     * 备注
     */
    @DBField(disName = "备注", mapCode = "remark")
    private String remark;
    /**
     * 状态
     * -1：删除
     * 0: 正常
     */
    @DBField(disName = "状态", mapCode = "state")
    private Short state;
    /**
     * 组织代码
     */
    @DBField(disName = "组织代码", mapCode = "organizationCode")
    private String organizationCode;
    /**
     * 组织编号
     */
    @DBField(disName = "组织编号", mapCode = "unitSN")
    private String unitSN;

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getDutyName() {
        return this.dutyName;
    }

    public void setDutyName(String dutyName) {
        this.dutyName = dutyName;
    }

    public String getDutyNamePY() {
        return this.dutyNamePY;
    }

    public void setDutyNamePY(String dutyNamePY) {
        this.dutyNamePY = dutyNamePY;
    }

    public String getDutyCode() {
        return this.dutyCode;
    }

    public void setDutyCode(String dutyCode) {
        this.dutyCode = dutyCode;
    }

    public String getDutyDesc() {
        return this.dutyDesc;
    }

    public void setDutyDesc(String dutyDesc) {
        this.dutyDesc = dutyDesc;
    }

    public boolean getManager() {
        return this.manager;
    }

    public void setManager(boolean manager) {
        this.manager = manager;
    }

    public String getSortCode() {
        return this.sortCode;
    }

    public void setSortCode(String sortCode) {
        this.sortCode = sortCode;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Short getState() {
        return this.state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public String getOrganizationCode() {
        return this.organizationCode;
    }

    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }

    public String getUnitSN() {
        return this.unitSN;
    }

    public void setUnitSN(String unitSN) {
        this.unitSN = unitSN;
    }


}